package com.wq.httpclientcore.entities.req.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class BaseReq implements Serializable {
    @Schema(description = "分页查询页数")
    private Integer pageNo = 1;

    @Schema(description = "每页条数")
    private Integer pageSize = 10;

    @Schema(description = "排序字段(默认id)")
    private String orderByField = "id";

    @Schema(description = "排序方式(true:正序 false:默认倒叙)")
    private Boolean orderBySort = false;

    @Schema(description = "复杂排序(高优先级)")
    private String orderBy = null;
}
